package com.starsoft.frame.base.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.starsoft.frame.base.bean.BaseJobLog;
import com.starsoft.frame.base.dao.JobLogDao;
import com.starsoft.frame.core.orm.PageObject;
import com.starsoft.frame.core.service.BaseService;

@Service
public class JobLogService extends BaseService{
	
	@Autowired
	JobLogDao jobLogDao;
	
	public void save(BaseJobLog jobLog){
		jobLogDao.save(jobLog);
	}
	
	public void delete(BaseJobLog jobLog){
		jobLogDao.delete(jobLog);
	}
	
	public Map<String, Object> pageQuery(PageObject po){
		return jobLogDao.pageQuery(po);
	}
}
